package cn.com.nes.site.interceptor;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

@TableName("user_operate_log")
@Data
@ToString
public class UserOperateLog implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String clientIp;

    private String userId;

    private String username;

    private String url;

    private String method;

    private String paramData;

    private Date startTime;

    private Date endTime;

    private Integer cost;

    private String platform;

    private String userAgent;

    @TableField(exist = false)
    private String token;

}
